<?php

use yii\helpers\Html;
use metronic\widgets\ActiveForm;

$this->title = '更新密码';
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="update-password">

    <h1><?= Html::encode($this->title) ?></h1>

    <?php

        $form = ActiveForm::begin();

        echo $form->field($model, 'oldPassword')->passwordInput();
        echo $form->field($model, 'newPassword')->passwordInput();
        echo $form->field($model, 'newPassword_repeat')->passwordInput();

        ActiveForm::end();

    ?>

</div>
